<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<div id="app">
			
		</div>
		
		<script src="../../js/vue.js" type="text/javascript" charset="utf-8"></script>
		
		<script type="text/javascript">
			const vue = new Vue({
				el: "#app",
				data: {},
				methods: {},
				mounted() {
					
				},
				//创建局部话组件
				components:{
					//1、定义组件的id和组件实体
					hello1: {
						//1.1、定义数据
						data:function(){
							return{
								message: "hello1"
							}
						},
						//1.2、模板
						template: "",
						//1.3、方法
						methods: {}
					}
				}
			})
		</script>
		
	</body>
</html>
